package com.sdy.dcsb.biz.mapper;

import com.sdy.dcsb.biz.model.EsbServiceTree;
import com.sdy.dcsb.biz.model.EsbSystem;
import com.sdy.dcsb.biz.model.EsbSystemVo;
import com.sdy.mvc.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;

/**
 * <p>
 * 系统信息 Mapper 接口
 * </p>
 *
 * @author lx
 * @since 2019-09-25
 */

public interface EsbSystemMapper extends BaseMapper<EsbSystem> {

    List<EsbSystem> selectAllSystem();

    List<EsbSystemVo> queryCountSystemByIdMess(@Param("id")Integer id, @Param("systemName")String systemName);

    List<EsbSystemVo> queryAllSystemByIdMess(@Param("id")Integer id,@Param("current") Integer current, @Param("size")Integer size,@Param("systemName") String systemName);

    List<EsbSystemVo> queryCountSystemById(@Param("id")Integer id);

    List<EsbSystemVo> queryAllSystemById(@Param("id")Integer id, @Param("current")Integer current, @Param("size")Integer size);


}
